package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SequenceGeneratorStartWithOption implements CommonSequenceGeneratorOption {

    private int beginIndex;
    private int endIndex;
    private SignedNumericLiteral sequenceGeneratorStartValue;

    public SequenceGeneratorStartWithOption(int beginIndex, SignedNumericLiteral sequenceGeneratorStartValue) {
        this.beginIndex = beginIndex;
        this.endIndex = sequenceGeneratorStartValue.getEndIndex();
        this.sequenceGeneratorStartValue = sequenceGeneratorStartValue;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SignedNumericLiteral getSequenceGeneratorStartValue() {
        return sequenceGeneratorStartValue;
    }

}
